package com.caishi.zzw.controllers;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;

@RestController

public class WeixinApis {

    @GetMapping("/test")
    void test(HttpServletResponse response) throws IOException {
        PrintWriter writer = response.getWriter();
        writer.println("test");
        writer.close();
    }
}
